package com.xh.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 导入临时字段对象 d_column_import
 * 
 * @author fulan
 * @date 2020-09-14
 */
public class DColumnImport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 项目ID */
    private String projectId;

    /** 表ID */
    private String tableId;

    /** 字段code */
    private String columnCode;

    /** 字段名称 */
    private String columnName;

    /** 数据类型 */
    private String dataType;

    /** 长度 */
    private String dLength;

    /** 非空(0:否，1：是。默认0) */
    private String isEmpty;

    /** 是否主键(0:否，1：是。默认0) */
    private String isPrimarykey;

    /** 默认值 */
    private String defaultValue;

    /** 排序 */
    private Long dSort;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;

    /** 删除标记 */
    private String delFlag;

    /** 导入记录表ID */
    private String importId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setTableId(String tableId) 
    {
        this.tableId = tableId;
    }

    public String getTableId() 
    {
        return tableId;
    }
    public void setColumnCode(String columnCode) 
    {
        this.columnCode = columnCode;
    }

    public String getColumnCode() 
    {
        return columnCode;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setdLength(String dLength) 
    {
        this.dLength = dLength;
    }

    public String getdLength() 
    {
        return dLength;
    }
    public void setIsEmpty(String isEmpty) 
    {
        this.isEmpty = isEmpty;
    }

    public String getIsEmpty() 
    {
        return isEmpty;
    }
    public void setIsPrimarykey(String isPrimarykey) 
    {
        this.isPrimarykey = isPrimarykey;
    }

    public String getIsPrimarykey() 
    {
        return isPrimarykey;
    }
    public void setDefaultValue(String defaultValue) 
    {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() 
    {
        return defaultValue;
    }
    public void setdSort(Long dSort) 
    {
        this.dSort = dSort;
    }

    public Long getdSort() 
    {
        return dSort;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setImportId(String importId) 
    {
        this.importId = importId;
    }

    public String getImportId() 
    {
        return importId;
    }


}
